
import 'dart:async';

import 'package:flutter/services.dart';

import 'vod_upload_class.dart';

class FlutterAliyunVodUpload {


  VODUploadCallback _vodUploadCallback;


  static const MethodChannel _channel =
      const MethodChannel('flutter_aliyun_vod_upload');

  static Future<String> get platformVersion async {
    final String version = await _channel.invokeMethod('getPlatformVersion');
    return version;
  }



  //设置上传凭证和地址
  void setUploadAuthAndAddress(UploadFileInfo uploadFileInfo,String uploadAuth,String uploadAddress){

  }

  //刷新上传凭证
  void resumeWithAuth(String uploadAuth){

  }

  //刷新上传凭证
  void addFile(String uploadAuth){

  }


  void init(VODUploadCallback val){
    this._vodUploadCallback = val;
  }



}
